/* Omnibar Component Styles */
/* Mirrors mpp-ui's Compose Omnibar design */

.omnibar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 14, 20, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.omnibar-container {
  background: var(--background, #1e1e1e);
  border: 1px solid var(--panel-border, #3c3c3c);
  border-radius: 16px;
  width: 600px;
  max-width: 90vw;
  max-height: 500px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.omnibar-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}

.omnibar-search-icon {
  font-size: 16px;
  opacity: 0.6;
}

.omnibar-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--foreground, #cccccc);
  font-size: 16px;
  outline: none;
}

.omnibar-input::placeholder {
  color: var(--foreground, #cccccc);
  opacity: 0.4;
}

.omnibar-hint {
  font-size: 12px;
  color: var(--foreground, #cccccc);
  opacity: 0.4;
}

.omnibar-divider {
  height: 1px;
  background: var(--panel-border, #3c3c3c);
}

.omnibar-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  max-height: 400px;
}

.omnibar-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 16px;
  color: var(--foreground, #cccccc);
  opacity: 0.5;
}

.omnibar-empty-icon {
  font-size: 32px;
  opacity: 0.5;
}

.omnibar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.1s;
}

.omnibar-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.omnibar-item.selected {
  background: rgba(0, 200, 200, 0.15);
}

.omnibar-item-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.omnibar-item.selected .omnibar-item-icon {
  color: var(--vscode-textLink-foreground, #3794ff);
}

.omnibar-item-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.omnibar-item-title {
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.omnibar-item.selected .omnibar-item-title {
  font-weight: 600;
}

.omnibar-item-description {
  font-size: 12px;
  color: var(--foreground, #cccccc);
  opacity: 0.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.omnibar-item-shortcut {
  font-size: 11px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--foreground, #cccccc);
  opacity: 0.6;
  flex-shrink: 0;
}

.omnibar-item-category {
  font-size: 11px;
  color: var(--foreground, #cccccc);
  opacity: 0.4;
  flex-shrink: 0;
}

